Optimal. Leaf size=81 \[ 24 x-\frac {24 (d+e x) \log (c (d+e x))}{e}+\frac {12 (d+e x) \log ^2(c (d+e x))}{e}-\frac {4 (d+e x) \log ^3(c (d+e x))}{e}+\frac {(d+e x) \log ^4(c (d+e x))}{e} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 81, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 3, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {2436, 2333,
2332} \begin {gather*} \frac {(d+e x) \log ^4(c (d+e x))}{e}-\frac {4 (d+e x) \log ^3(c (d+e x))}{e}+\frac {12 (d+e x) \log ^2(c (d+e x))}{e}-\frac {24 (d+e x) \log (c (d+e x))}{e}+24 x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2332
Rule 2333
Rule 2436
Rubi steps
\begin {align*} \int \log ^4(c (d+e x)) \, dx &=\frac {\text {Subst}\left (\int \log ^4(c x) \, dx,x,d+e x\right )}{e}\\ &=\frac {(d+e x) \log ^4(c (d+e x))}{e}-\frac {4 \text {Subst}\left (\int \log ^3(c x) \, dx,x,d+e x\right )}{e}\\ &=-\frac {4 (d+e x) \log ^3(c (d+e x))}{e}+\frac {(d+e x) \log ^4(c (d+e x))}{e}+\frac {12 \text {Subst}\left (\int \log ^2(c x) \, dx,x,d+e x\right )}{e}\\ &=\frac {12 (d+e x) \log ^2(c (d+e x))}{e}-\frac {4 (d+e x) \log ^3(c (d+e x))}{e}+\frac {(d+e x) \log ^4(c (d+e x))}{e}-\frac {24 \text {Subst}(\int \log (c x) \, dx,x,d+e x)}{e}\\ &=24 x-\frac {24 (d+e x) \log (c (d+e x))}{e}+\frac {12 (d+e x) \log ^2(c (d+e x))}{e}-\frac {4 (d+e x) \log ^3(c (d+e x))}{e}+\frac {(d+e x) \log ^4(c (d+e x))}{e}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 74, normalized size = 0.91 \begin {gather*} \frac {24 e x-24 (d+e x) \log (c (d+e x))+12 (d+e x) \log ^2(c (d+e x))-4 (d+e x) \log ^3(c (d+e x))+(d+e x) \log ^4(c (d+e x))}{e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.15, size = 99, normalized size = 1.22
method | result | size |
risch | \(\frac {\left (e x +d \right ) \ln \left (c \left (e x +d \right )\right )^{4}}{e}-\frac {4 \left (e x +d \right ) \ln \left (c \left (e x +d \right )\right )^{3}}{e}+\frac {12 \left (e x +d \right ) \ln \left (c \left (e x +d \right )\right )^{2}}{e}-24 x \ln \left (c \left (e x +d \right )\right )+24 x -\frac {24 d \ln \left (e x +d \right )}{e}\) | \(87\) |
derivativedivides | \(\frac {\ln \left (c e x +c d \right )^{4} \left (c e x +c d \right )-4 \left (c e x +c d \right ) \ln \left (c e x +c d \right )^{3}+12 \left (c e x +c d \right ) \ln \left (c e x +c d \right )^{2}-24 \left (c e x +c d \right ) \ln \left (c e x +c d \right )+24 c e x +24 c d}{c e}\) | \(99\) |
default | \(\frac {\ln \left (c e x +c d \right )^{4} \left (c e x +c d \right )-4 \left (c e x +c d \right ) \ln \left (c e x +c d \right )^{3}+12 \left (c e x +c d \right ) \ln \left (c e x +c d \right )^{2}-24 \left (c e x +c d \right ) \ln \left (c e x +c d \right )+24 c e x +24 c d}{c e}\) | \(99\) |
norman | \(x \ln \left (c \left (e x +d \right )\right )^{4}+\frac {d \ln \left (c \left (e x +d \right )\right )^{4}}{e}+24 x -24 x \ln \left (c \left (e x +d \right )\right )+12 x \ln \left (c \left (e x +d \right )\right )^{2}-4 x \ln \left (c \left (e x +d \right )\right )^{3}-\frac {24 d \ln \left (c \left (e x +d \right )\right )}{e}+\frac {12 d \ln \left (c \left (e x +d \right )\right )^{2}}{e}-\frac {4 d \ln \left (c \left (e x +d \right )\right )^{3}}{e}\) | \(115\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 205 vs.
\(2 (85) = 170\).
time = 0.28, size = 205, normalized size = 2.53 \begin {gather*} 4 \, {\left (d e^{\left (-2\right )} \log \left (x e + d\right ) - x e^{\left (-1\right )}\right )} e \log \left ({\left (x e + d\right )} c\right )^{3} + x \log \left ({\left (x e + d\right )} c\right )^{4} - {\left (6 \, {\left (d \log \left (x e + d\right )^{2} - 2 \, x e + 2 \, d \log \left (x e + d\right )\right )} e^{\left (-2\right )} \log \left ({\left (x e + d\right )} c\right )^{2} - {\left (4 \, {\left (d \log \left (x e + d\right )^{3} + 3 \, d \log \left (x e + d\right )^{2} - 6 \, x e + 6 \, d \log \left (x e + d\right )\right )} e^{\left (-3\right )} \log \left ({\left (x e + d\right )} c\right ) - {\left (d \log \left (x e + d\right )^{4} + 4 \, d \log \left (x e + d\right )^{3} + 12 \, d \log \left (x e + d\right )^{2} - 24 \, x e + 24 \, d \log \left (x e + d\right )\right )} e^{\left (-3\right )}\right )} e\right )} e \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.34, size = 86, normalized size = 1.06 \begin {gather*} {\left ({\left (x e + d\right )} \log \left (c x e + c d\right )^{4} - 4 \, {\left (x e + d\right )} \log \left (c x e + c d\right )^{3} + 12 \, {\left (x e + d\right )} \log \left (c x e + c d\right )^{2} + 24 \, x e - 24 \, {\left (x e + d\right )} \log \left (c x e + c d\right )\right )} e^{\left (-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.12, size = 88, normalized size = 1.09 \begin {gather*} 24 e \left (- \frac {d \log {\left (d + e x \right )}}{e^{2}} + \frac {x}{e}\right ) - 24 x \log {\left (c \left (d + e x\right ) \right )} + \frac {\left (- 4 d - 4 e x\right ) \log {\left (c \left (d + e x\right ) \right )}^{3}}{e} + \frac {\left (d + e x\right ) \log {\left (c \left (d + e x\right ) \right )}^{4}}{e} + \frac {\left (12 d + 12 e x\right ) \log {\left (c \left (d + e x\right ) \right )}^{2}}{e} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.45, size = 92, normalized size = 1.14 \begin {gather*} {\left (x e + d\right )} e^{\left (-1\right )} \log \left ({\left (x e + d\right )} c\right )^{4} - 4 \, {\left (x e + d\right )} e^{\left (-1\right )} \log \left ({\left (x e + d\right )} c\right )^{3} + 12 \, {\left (x e + d\right )} e^{\left (-1\right )} \log \left ({\left (x e + d\right )} c\right )^{2} - 24 \, {\left (x e + d\right )} e^{\left (-1\right )} \log \left ({\left (x e + d\right )} c\right ) + 24 \, {\left (x e + d\right )} e^{\left (-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.36, size = 119, normalized size = 1.47 \begin {gather*} 24\,x-24\,x\,\ln \left (c\,d+c\,e\,x\right )+12\,x\,{\ln \left (c\,d+c\,e\,x\right )}^2-4\,x\,{\ln \left (c\,d+c\,e\,x\right )}^3+x\,{\ln \left (c\,d+c\,e\,x\right )}^4+\frac {12\,d\,{\ln \left (c\,d+c\,e\,x\right )}^2}{e}-\frac {4\,d\,{\ln \left (c\,d+c\,e\,x\right )}^3}{e}+\frac {d\,{\ln \left (c\,d+c\,e\,x\right )}^4}{e}-\frac {24\,d\,\ln \left (d+e\,x\right )}{e} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________